﻿@page "/"

<script src="./lib/editor/dist/index.js"></script>

@inject NavigationManager Navigation

<style>
    .addbtn {
        width: 50px;
        height: 50px;
        font-size: 35px;
        background-color: #f3e120;
        display: flex;
        position: fixed;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        right: 30px;
        bottom: 50px;
        border-radius: 50%;
        box-shadow: 4px 4px 8px 0px rgb(122 122 122 / 20%);
        -webkit-user-select: none; /*webkit浏览器*/
        -moz-user-select: none; /*火狐*/
        -ms-user-select: none; /*IE10*/
        user-select: none;
    }

    .ant-card-head {
        min-height: 0 !important;
    }

    .ant-card-head-title {
        padding: 5px 0 !important;
    }

    .ant-card-body {
        padding: 12px 24px !important;
    }

    .ant-card-bordered {
        border: 0px solid #f0f0f0;
    }
</style>

<h1>笔记</h1>

<div class="addbtn" @onclick="clickadd"><Icon Type="plus" Theme="outline" /></div>

@code {
    public void clickadd()
    {
        Navigation.NavigateTo("adder");
    }
}
<div>
    <Card Title=@("Inner card title") style="box-shadow:0px 0px 8px 0px rgb(122 122 122 / 20%);border-radius:10px">
        <Extra>     </Extra>
        <Body>
            Inner Card content
        </Body>

    </Card>

</div>


